package com.niiwoo.civet.trade.dao.mapper;

import com.niiwoo.civet.trade.dao.entity.ReturnProjectRecord;
import org.apache.ibatis.annotations.Param;

public interface ReturnProjectRecordMapperExt extends ReturnProjectRecordMapper {

    /**
     * 通过标的id查询最近一条退回记录
     * @param projectId 标的ID
     * @return
     */
    ReturnProjectRecord selectLatelyRecordByProjectId(@Param("userId") String userId, @Param("projectId") Long projectId);

}